﻿using System;

namespace SW.Model
{
    [Serializable]
    public class MMenusData
    {
        #region 私有变量

        /// <summary>
        /// 菜单ID
        /// </summary>
        private int menuID;

        /// <summary>
        /// 菜单父级ID
        /// </summary>
        private int menuPID;

        /// <summary>
        /// 菜单编码
        /// </summary>
        private string menuCode;

        /// <summary>
        /// 菜单名称
        /// </summary>
        private string menuName;

        /// <summary>
        /// 菜单级别
        /// </summary>
        private int menuLevel;

        /// <summary>
        /// 菜单图标
        /// </summary>
        private string menuIcon;

        /// <summary>
        /// 菜单链接
        /// </summary>
        private string navigateUrl;

        #endregion

        /// <summary>
        /// 构造函数
        /// </summary>
        public MMenusData()
        {
        }
        #region 公共接口

        /// <summary>
        /// 菜单ID
        /// </summary>
        public int MenuID
        {
            get { return menuID; }
            set { menuID = value; }
        }

        /// <summary>
        /// 菜单父级ID
        /// </summary>
        public int MenuPID
        {
            get { return menuPID; }
            set { menuPID = value; }
        }

        /// <summary>
        /// 菜单编码
        /// </summary>
        public string MenuCode
        {
            get { return menuCode; }
            set { menuCode = value; }
        }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName
        {
            get { return menuName; }
            set { menuName = value; }
        }

        /// <summary>
        /// 菜单级别
        /// </summary>
        public int MenuLevel
        {
            get { return menuLevel; }
            set { menuLevel = value; }
        }

        /// <summary>
        /// 菜单图标
        /// </summary>
        public string MenuIcon
        {
            get { return menuIcon; }
            set { menuIcon = value; }
        }

        /// <summary>
        /// 菜单链接
        /// </summary>
        public string NavigateUrl
        {
            get { return navigateUrl; }
            set { navigateUrl = value; }
        }
        #endregion
    }
}